{extend name="base" /}
{block name="body"}
<div class="layui-body">
    <!--tab标签-->
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class="layui-this">签到积分设置</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <form class="layui-form form-container" action="{:url('admin/signin/update')}" method="post">
                    <div class="layui-form-item">
                        <label class="layui-form-label" style="width:100px;position:absolute;padding-left: 0px;">普通用户:</label>
                        <div class="layui-input-block">
                            <input type="text" name="signinIntegral" value="{$signin.signinIntegral}" required lay-verify="required" placeholder="请设置一次签到多少积分" class="layui-input" onkeydown="return event.keyCode>=48&&event.keyCode<=57 || event.keyCode>=96&&event.keyCode<=105 || event.keyCode==8" ng-pattern="/[^a-zA-Z]/"  >
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label" style="width:100px;position:absolute;padding-left: 0px;">vip用户:</label>
                        <div class="layui-input-block">
                            <input type="text" name="signinVip" value="{$signin.signinVip}" required lay-verify="required" placeholder="请设置一次签到多少积分" class="layui-input" onkeydown="return event.keyCode>=48&&event.keyCode<=57 || event.keyCode>=96&&event.keyCode<=105 || event.keyCode==8" ng-pattern="/[^a-zA-Z]/"  >
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <input type="hidden" name="id" value="{$signin.id}">
                            <button class="layui-btn" lay-submit lay-filter="*">设置</button>
                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{/block}